package cn.strive.eams.fixedassets.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
public class FixedassetsVO {
    @ApiModelProperty(value ="资产信息id")
    private Long id;
    @ApiModelProperty(value ="资产名称")
    private String assetName;
    @ApiModelProperty(value ="型号编号")
    private String modelNumber;
    @ApiModelProperty(value ="序列号")
    private String serialNumber;
    @ApiModelProperty(value ="购买日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String purchaseDate;
    @ApiModelProperty(value ="购买价格")
    private String purchasePrice;
    @ApiModelProperty(value ="当前状态")
    private String status;
    @ApiModelProperty(value ="最近一次维护日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String lastMaintenance;
    @ApiModelProperty(value ="下次维护日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String nextMaintenance;
    @ApiModelProperty(value ="备注")
    private String notes;
    @ApiModelProperty(value ="资产类型")
    private String category;
    @ApiModelProperty(value ="供应商id")
    private Long supplierId;
    @ApiModelProperty(value ="位置id")
    private Long locationId;
    @ApiModelProperty(value ="附件id")
    private Long attachmentId;
    @ApiModelProperty(value ="申请创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value ="更新时间，自动更新")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;


    @ApiModelProperty(value = "供应商名称")
    private String name;
    @ApiModelProperty(value = "联系人")
    private String contactPerson;
    @ApiModelProperty(value = "电话号码")
    private String phone;
    @ApiModelProperty(value = "电子邮箱")
    private String email;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "备注")
    private String supplierNotes;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date supplierCreateTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date supplierUpdateTime;


    @ApiModelProperty(value = "附件名称")
    private String fileName;
    @ApiModelProperty(value = "附件类型")
    private String fileType;
    @ApiModelProperty(value = "附件地址")
    private String filePath;
    @ApiModelProperty(value = "上传日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date uploadDate;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date fileCreateTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date fileUpdateTime;
}